package cn.qiao.多态;

class Wangsan {
        Wangsan () {
            System.out.println("上幼儿园之前");
            write();
            System.out.println("上幼儿园之后");
        }
        public void write() {
            System.out.println("老子上幼儿园的年龄是3岁半");
        }
    }